<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
            list-style: none;
        }

        .box {
            box-sizing: border-box;
            width: 100%;
            /* border: 2px solid blue; */
        }

        .tmlogo {
            width: 100%;
            height: 50px;
            /* border: 2px solid red; */
        }

        .tmlogo img {
            width: 185px;
            height: 25px;
            margin: 10px 0px 10px 300px;
        }

        .tmbg {
            width: 100%;
            height: 600px;
            background: url(https://gw.alicdn.com/imgextra/i3/O1CN01iyYdem1GQd1yGgA0a_!!6000000000617-0-tps-2500-600.jpg) center no-repeat;
            background-size: cover;
            position: relative;
        }
        form{
            width: 400px;
            height: 400px;
            background-color: #fff;
            border: 2px solid red;
            position: absolute;
            right: 300px;
            top: 100px;
            opacity: .8;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="tmlogo">
            <img src="https://assets.alicdn.com/g/tm/login/3.0.2/img/logo.png" alt="">
        </div>
        <div class="tmbg">
            <form action="">
                <div class="top">
                    <strong>密码登录</strong>
                    <strong>短信登录</strong>
                    <span></span>
                </div>
                <div class="mid">
                    <input type="text">
                    <input type="text">
                </div>
            </form>
        </div>
    </div>
</body>

</html>